package com.sys.platform.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sys.platform.common.web.domain.DataBaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 档案馆设备告警对象 dossier_device_warning
 *
 * @author yuanfuqiang
 * @date 2024-01-10
 */
@Data
public class DossierDeviceWarning extends DataBaseEntity {

    @ApiModelProperty("设备id")
    private String deviceId;

    @ApiModelProperty("类型 1：人员入侵 2：温湿度 3: 漏水检测  4: 智能开关")
    private Integer type;

    @ApiModelProperty("数据值")
    private String data;

    @ApiModelProperty("0 待处理 1已完结")
    private Integer status;

    @ApiModelProperty("0 正常 1告警")
    private Integer warningStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("完成时间")
    private Date completeTime;

}
